<html>
<head>
<title>This is the result</title>
</head>
<body>

<?php

if ($_POST["Submit1"]=="Show CMD") {
echo "===========Show Command:==============<br/>";

$output = shell_exec('ls -lart');
echo "<pre>$output</pre>";


echo "================END===================";
} else {
echo "Command is not shown";
}

?>


<p><a href="origin.php">Return</a></p>
</body>
</html>

